<?php

namespace App\Exceptions;

use Exception;
use Throwable;

/** 业务层异常类 */
class ServiceException extends Exception
{
    public function __construct(string $message = "操作失败", int $code = 201, Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}
